<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="https://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
		<script src="../js/a.js"></script>
	</head>
	<body>
		<input type="text" id="s1"value="123" disabled="disabled"/>
		<input type="button" id="s2" value="alert" onclick="alert1()" />
		<input type="button" id="s3" value="confirm" onclick="confirm1()" />
	</body>
	<script>
		console.log('asdasdasd'.indexOf('da'));
		function alert1(){
			alert('123');
		}
		function confirm1(){
			console.log(1);
			confirm('123');
		}
		function c(newCategory) {
		    let data = [
		        -1,1, 4, 3, 5, 2, 7, 9, 10, 8, 6, 13, 14, 12, 11
		    ]
			let oldCategory = data[newCategory];
		    return oldCategory;
		}

	</script>
</html>
